package com.xiaohudie.pojo;

import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.xml.crypto.Data;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author xiao hu die
 * @Date 2022/2/27 14:55
 * @Version 1.0
 */
@lombok.Data
@ToString
@Component
@ConfigurationProperties(prefix = "teacher")
public class Teacher {
 private String name;
 private Boolean boss;
 private Data birth;
 private Integer age;
 private Pet pet;
 private String[] interests;
 private List<String> animal;
 private Map<String,Object> score;
 private Set<Double> salarys;
 private Map<String,List<Pet>> allPets;
}
